<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>用户管理</title>
    <link rel="stylesheet" href="/static/assets/layui-v2.5.6/css/layui.css">
    <link rel="stylesheet" href="/static/css/custom/layui.css">
</head>
<body>
<div class="container">
    <#--查询选项-->
    <form class="layui-form" id="queryForm">
        <div class="layui-form-item">
            <div>
                <label class="layui-form-label">用户信息：</label>
                <div class="layui-input-inline">
                    <input name="userSearchContent" type="text" class="layui-input" autocomplete="off"
                           placeholder="账号，姓名，电话">
                </div>
            </div>
            <div>
                <button class="layui-btn layui-btn-normal" id="btnSearch" type="button">
                    <i class="layui-icon layui-icon-search"></i>搜索
                </button>
                <button class="layui-btn layui-btn-primary v-top" id="btnReset" type="button">
                    <i class="layui-icon layui-icon-fonts-clear"></i>清空
                </button>
                <button class="layui-btn layui-btn-normal" type="button" id="btnAdd">
                    <i class="layui-icon layui-icon-add-1"></i>新增
                </button>
                <button class="layui-btn layui-btn" type="button" id="btnUpdate">
                    <i class="layui-icon layui-icon-edit"></i>修改
                </button>
                <button class="layui-btn layui-btn-danger" type="button" id="btnDelete">
                    <i class="layui-icon layui-icon-delete"></i>删除
                </button>
            </div>
        </div>
    </form>
    <#--数据表格-->
    <div class="data-table">
        <table class="layui-hide" id="datagrid" lay-filter="datagrid"
               lay-data="{id: &#39;datagrid&#39;}" lay-size="sm"></table>
    </div>

    <#--编辑表单-->
    <div id="dataModel" class="data-model">
        <form class="layui-form" action="">
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">账号</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userAccount" lay-verify="required" autocomplete="off"
                               placeholder="请输入账号"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">姓名</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userName" lay-verify="required" autocomplete="off" placeholder="请输入用户名"
                               class="layui-input">
                    </div>
                </div>


            </div>
            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">密码</label>
                    <div class="layui-input-inline">
                        <input type="password" id="userPassword" name="userPassword" lay-verify="required" placeholder="请输入密码"
                               autocomplete="off"
                               class="layui-input">
                    </div>
                    <#--<div class="layui-form-mid layui-word-aux">请填写6到12位密码</div>-->
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">所属系统</label>
                    <div class="layui-input-inline">
                        <select id="userSysId" name="userSysId" lay-verify="required" lay-search>

                        </select>
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-inline">
                    <label class="layui-form-label">手机号</label>
                    <div class="layui-input-inline">
                        <input type="tel" name="userPhone" lay-verify="required|phone" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
                <div class="layui-inline">
                    <label class="layui-form-label">邮箱</label>
                    <div class="layui-input-inline">
                        <input type="text" name="userEmail" lay-verify="required|email" autocomplete="off"
                               class="layui-input">
                    </div>
                </div>
            </div>


            <div class="layui-form-item">
                <label class="layui-form-label">所属角色</label>
                <div class="layui-input-block" id="roles">

                </div>
            </div>

            <#-- <div class="layui-form-item">
                 <label class="layui-form-label">身份证号</label>
                 <div class="layui-input-block">
                     <input type="text" name="userCardId" lay-verify="identity" placeholder="" autocomplete="off"
                            class="layui-input">
                 </div>
             </div>-->
            <div class="layui-form-item">
                <label class="layui-form-label">地址</label>
                <div class="layui-input-block">
                    <input type="text" name="userAddress" lay-verify="required" placeholder="" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">性别</label>
                <div class="layui-input-block">
                    <input type="radio" name="userGender_t" value="1" title="男" checked="">
                    <input type="radio" name="userGender_t" value="2" title="女">
                </div>
            </div>

            <#--<div class="layui-form-item">
                <label class="layui-form-label">是否启用</label>
                <div class="layui-input-block">
                    <input type="checkbox" checked name="userIsEnabled" lay-skin="switch"
                           lay-text="是|否" lay-filter="switch_form" value="1">
                </div>
            </div>-->
            <div class="layui-form-item layui-form-text">
                <label class="layui-form-label">用户简介</label>
                <div class="layui-input-block">
                    <textarea placeholder="请输入内容" class="layui-textarea" name="userIntroduction"></textarea>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">备注</label>
                <div class="layui-input-block">
                    <input type="text" name="userRemark" placeholder="" autocomplete="off"
                           class="layui-input">
                </div>
            </div>
            <div class="layui-form-item btn-opt">
                <div class="layui-input-block">
                    <button type="submit" id="formSubmitBtn" class="layui-btn" lay-submit="form_submit_btn"
                            lay-filter="form_submit_btn">确定
                    </button>
                </div>
            </div>
        </form>
    </div>
</div>
<script type="text/javascript" src="/static/assets/jquery/jquery-3.5.1.js"></script>
<script type="text/javascript" src="/static/assets/layui-v2.5.6/layui.js"></script>
<script type="text/javascript" src="/static/js/page.js"></script>
<script type="text/javascript" src="/static/js/common.js"></script>
<script type="text/javascript" src="/static/js/base_system/user.js"></script>
</body>
</html>